﻿<html>
<head>
    <style type="text/css">
        BODY
        {
            color: #000000;
            background-color: white;
            font-family: Courier New;
            margin-left: 0px;
            margin-top: 0px;
        }
        #content
        {
            margin-left: 30px;
            font-size: 0.8em;
            padding-bottom: 2em;
        }
        A:link
        {
            color: #336699;
            font-weight: bold;
            text-decoration: underline;
        }
        A:visited
        {
            color: #6699cc;
            font-weight: bold;
            text-decoration: underline;
        }
        A:active
        {
            color: #336699;
            font-weight: bold;
            text-decoration: underline;
        }
        A:hover
        {
            color: cc3300;
            font-weight: bold;
            text-decoration: underline;
        }
        P
        {
            color: #000000;
            margin-top: 0px;
            margin-bottom: 12px;
            font-family: Courier New;
        }
        pre
        {
            background-color: #e5e5cc;
            padding: 5px;
            font-family: Courier New;
            font-size: x-small;
            margin-top: -5px;
            border: 1px #f0f0e0 solid;
        }
        td
        {
            color: #000000;
            font-family: Courier New;
            font-size: .7em;
        }
        h2
        {
            font-size: 1.5em;
            font-weight: bold;
            margin-top: 25px;
            margin-bottom: 10px;
            border-top: 1px solid #003366;
            margin-left: -15px;
            color: #003366;
        }
        h3
        {
            font-size: 1.1em;
            color: #000000;
            margin-left: -15px;
            margin-top: 10px;
            margin-bottom: 10px;
        }
        ul
        {
            margin-top: 10px;
            margin-left: 20px;
        }
        ol
        {
            margin-top: 10px;
            margin-left: 20px;
        }
        li
        {
            margin-top: 10px;
            color: #000000;
        }
        font.value
        {
            color: darkblue;
            font: bold;
        }
        font.key
        {
            color: darkgreen;
            font: bold;
        }
        font.error
        {
            color: darkred;
            font: bold;
        }
        .heading1
        {
            color: #ffffff;
            font-family: Courier New;
            font-size: 26px;
            font-weight: bold;
            background-color: #707070;
            margin-top: 0px;
            margin-bottom: 0px;
            margin-left: -30px;
            padding-top: 10px;
            padding-bottom: 3px;
            padding-left: 15px;
            width: 105%;
        }
        .button
        {
            background-color: #dcdcdc;
            font-family: Verdana;
            font-size: 1em;
            border-top: #cccccc 1px solid;
            border-bottom: #666666 1px solid;
            border-left: #cccccc 1px solid;
            border-right: #666666 1px solid;
        }
        .intro
        {
            margin-left: -15px;
        }
    </style>
    <title>SOHP Proxy Server v{VERSION}</title>
</head>
<body>
    <div id="content">
        <p class="heading1">
            SOHP Proxy Server v{VERSION}</p>
        <br />
        <span>
            <p class="intro">
                <font class="error">You are seeing this web page because you attempted to access a SOHP
                    Proxy host without using a SOHP-compatible client.</font></p>
            <p class="intro">
                The following operations are supported in this implementation of the SOHP protocol:</p>
            <ul>
                <li><a href="#">Open</a> <span>
                    <br />
                    Opens a new connection with the server on the specified host and port. </span><span>
                        <br />
                        <br />
                        <strong>Query String Input:</strong></span>
                    <ul>
                        <li><em>hostName</em>: the hostname of the target server for the connection.</li>
                        <li><em>port</em>: the port for the connection.</li>
                    </ul>
                    <br />
                    <br />
                </li>
                <li><a href="#">Close</a> <span>
                    <br />
                    Force closes an existing connection with the server. </span><span>
                        <br />
                        <br />
                        <strong>Query String Input:</strong></span>
                    <ul>
                        <li><em>connectionId</em>: the connection identifier.</li>
                        <li><em>ts</em>: timestamp of the request.</li>
                        <li><em>signature</em>: the signature of the request.</li>
                    </ul>
                    <br />
                    <br />
                </li>
                <li><a href="#">Receive</a> <span>
                    <br>
                    Establishes a communication channel for data flowing from the server to the client.
                </span><span>
                    <br />
                    <br />
                    <strong>Query String Input:</strong></span>
                    <ul>
                        <li><em>connectionId</em>: the connection identifier.</li>
                        <li><em>ts</em>: timestamp of the request.</li>
                        <li><em>signature</em>: the signature of the request.</li>
                    </ul>
                    <br />
                    <br />
                </li>
                <li><a href="#">Send</a> <span>
                    <br>
                    Send data to the server. The payload of the HTTP request is sent to the server. </span><span>
                        <br />
                        <br />
                        <strong>Query String Input:</strong></span>
                    <ul>
                        <li><em>connectionId</em>: the connection identifier.</li>
                        <li><em>ts</em>: timestamp of the request.</li>
                        <li><em>signature</em>: the signature of the request.</li>
                    </ul>
                    <br />
                    <br />
                </li>
            </ul>
        </span>
    </div>
</body>
</html>
